package com.usian.common.exception;

import com.usian.model.common.dtos.ResponseResult;
import sun.nio.cs.ext.MS874;


public class CustomException extends RuntimeException {
    private ResponseResult responseResult;
    /**
     * int code
     * String  msg
     */
    public CustomException(Integer code,String smg){
    this.responseResult=new ResponseResult(code, smg);
    }

    public ResponseResult getResponseResult() {
        return responseResult;
    }
}
